<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
	<meta name="format-detection" content="telephone=no">
	<title>layer-更懂你的web弹窗解决方案</title>
	<script src="http://cdn.bootcss.com/jquery/1.12.3/jquery.min.js"></script>
	<script src="layer.js"></script>
<style>
.demo-content{padding: 20px;}
</style>
</head>
<body>
<div class="box">

<script type="text/javascript">
layer.config({
	extend: 'kswind/style.css',
});

layer.ready(function(){
	layer.open({
		skin: 'layer-ext-sweet',
		type: 1,
		//title: '欢迎页',
		title: '',
		content: '<div class="demo-content">演示一下而已</div>',
		area: ['80%'],
		cancel: function(index, layero){
			layer.alert('有表情地提示', {icon: 2, skin: 'layer-ext-sweet'});
		}
	});
});
</script>
</body>
</html>